include $(LITEOSTOPDIR)/config.mk
MODULE_NAME := $(notdir $(shell pwd))

LOCAL_SRCS := src/i2c.c src/i2c_dev.c src/i2c_shell.c
ifdef LOSCFG_HOST_TYPE_HIBVT
LOCAL_SRCS += src/i2c_hibvt.c
else
LOCAL_SRCS += src/i2c_hisilicon.c
endif

ifeq ($(LOSCFG_DRIVERS_HIDMAC), y)
LOCAL_INCLUDE := -I $(LITEOSTOPDIR)/drivers/hidmac/src
else
LOCAL_INCLUDE :=
endif

LOCAL_FLAGS := $(LOCAL_INCLUDE)

include $(MODULE)
